-----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Nilerouche
-- Standard Merchant NPC
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	
player:showText(npc,NILEROUCHE_SHOP_DIALOG);

stock = {0x426d,108,		-- Lufaise Fly
	 0x43e7,2640,		-- Clothespole
	 0x02b0,200,		-- Arrowwood Log
	 0x02b2,7800,		-- Elm Log
	 0x121e,66000,		-- Scroll of Banish III
	 0x0b37,9200}		-- Safehold Waystone
 
showShop(player, STATIC, stock);
end; 

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;



